package org.example.netty.zdyxieyi;

import lombok.Data;

/**
 * @author 王博
 */
@Data
public class LoginResponseMessage implements Message{
    private boolean status;
    private String msg;
    public LoginResponseMessage() {
    }

    public LoginResponseMessage(boolean status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "LoginResponseMessage{" +
                "status=" + status +
                ", msg='" + msg + '\'' +
                '}';
    }

    @Override
    public int getMessageType() {
        return 0;
    }

    @Override
    public int getSequenceId() {
        return 0;
    }
}
